package com.leete;

import org.springframework.context.MessageSource;

import java.util.Locale;

/**
 * @author liqiang
 * @version 1.0
 * @description:
 * @date 2023/4/13 21:37
 */
public abstract class AbstractA {

    public AbstractA() {
        System.out.println("default---abstractA");
    }

    protected MessageSource messageSource;


    public abstract String getMessage(String cdoe, Locale locale);


    public MessageSource getMessageSource() {
        return messageSource;
    }

    public void setMessageSource(MessageSource messageSource) {
        this.messageSource = messageSource;
    }

}
